home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / apport / package-hooks / source_pulseaudio.py < prev    next >
Encoding:
Python Source  |  2009-07-14  |  278 b   |  16 lines

  1. '''apport package hook for pulseaudio
  2.  
  3. (c) 2009 Canonical Ltd.
  4. Author:
  5. Matt Zimmerman <mdz@ubuntu.com>
  6.  
  7. '''
  8.  
  9. from apport.hookutils import *
  10. import re
  11.  
  12. def add_info(report):
  13.     attach_alsa(report)
  14.     recent_syslog(re.compile(r'pulseaudio\['))
  15.     attach_conffiles(report, 'pulseaudio')
  16.